import { HTTP } from "../utils/http.js";
class HomeApi extends HTTP {
	// 获取主页数据
	GetHome() {
		return this.request({
			url: "index",
			method: "GET"
		})
	}
	// 获取我要预约页面数据
	PostAccreditPhone(data) {
		return this.request({
			url: "apmt",
			method: "GET",
			data
		})
	}
	// 提交预约
	PostPushApmt(data) {
		return this.request({
			url: "push_apmt",
			method: "POST",
			data
		})
	}
	// 预约详情
	GetApmtDetail() {
		return this.request({
			url: "apmt_detail",
			method: "GET"
		})
	}
}

export default new HomeApi();